Why Atoms Gain, Lose, Or Share Electrons